package org.douxiaoban.client.util;

import android.app.Application;
import android.content.Context;

/**
 * 工具合集，
 * 		基本都是单例
 * @author 6a209
 * 1:04:20 AM May 1, 2012
 */
public class DouUtils {
	
	private Context mCtx;
	private static DouUtils sDouUtils;
	
	private DouCookieUtil mCookieUtil;
	
	
	private  DouUtils(Context ctx){
		mCookieUtil = DouCookieUtil.getInstance(ctx);
	}
	
	public static DouUtils getInstance(Context ctx){
		if(null == sDouUtils){
			sDouUtils = new DouUtils(ctx);
		}
		return sDouUtils;
	}
	
	public DouCookieUtil getCookieUtil(){
		return mCookieUtil;
	}
}